package org.vacoor.ticket.bean.option;

/**
 * 列车信息
 * @author vacoor
 */
public class Train {
	//编号
	private String Id;
	//车次
	private String No;
	private String startStation;
	private String startTime;
	private String endStation;
	private String endTime;

	public String getNo() {
		return Id;
	}

	public void setNo(String no) {
		this.Id = no;
	}

	public String getCode() {
		return No;
	}

	public void setCode(String code) {
		this.No = code;
	}

	public String getStartStation() {
		return startStation;
	}

	public void setStartStation(String startStation) {
		this.startStation = startStation;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndStation() {
		return endStation;
	}

	public void setEndStation(String endStation) {
		this.endStation = endStation;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	@Override
	public String toString() {
		return "Train [编号=" + Id + ", 车次=" + No + ", 始发站=" + startStation
				+ ", 发车时间=" + startTime + ", 终点站=" + endStation + ", 到站时间="
				+ endTime + "]";
	}
}
